package cn.wolfcode.luowowo.search.query;

import cn.wolfcode.luowowo.query.QueryObject;
import lombok.Data;

@Data
public class SearchQueryObject extends QueryObject {
    //定义常量用于查询的时候switch语句调用
    public static final int TYPE_ALL = -1;
    public static final int TYPE_DEST = 0;
    public static final int TYPE_STRATEGY = 1;
    public static final int TYPE_TRAVEL = 2;
    public static final int TYPE_USER = 3;
    
    //定义一个类型的私有私有,默认的值为全部
    private int type = TYPE_ALL;
}
